import React, { Component } from 'react';
import Swiper from './ui/Swiper';
import connect from './connect'
import Search from './ui/Search';

@connect
class index extends Component {
  componentDidMount(){
    this.props.initSwiper()
  }
  render() {
    return (
      <>
        {/* 顶部切换图片 */}
        <Swiper />
        {/* 搜索 */}
        <Search />
      </>
    );
  }
}

export default index;
